package basic;

public class ByteMove {

    public static void main(String[] args) {


        int i = 123456789;
        char[] chars=String.valueOf(i).toCharArray();  //int转换为char数组

        int j=Integer.parseInt(String.valueOf(chars)); //char数组转换为int

        i >>>= 5;

        System.out.println(i);

        long l = -1;

        l >>>= 10;

        System.out.println(l);

        short s = -1;

        s >>>= 10;

        System.out.println(s);

        byte b = -1;

        b >>>= 10;

        System.out.println(b);

    }
}

